/* 桌面端专用样式 */

/* 桌面端基础样式 */
@media (min-width: 769px) {
  /* 桌面端字体大小 */
  html {
    font-size: 16px;
  }
  
  /* 桌面端布局优化 */
  .el-container {
    min-height: 100vh;
  }
  
  .el-header {
    height: 60px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .el-main {
    padding: 20px !important;
    background: #f5f5f5;
    min-height: calc(100vh - 60px);
  }
  
  /* 桌面端卡片样式 */
  .el-card {
    border-radius: 8px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
    border: none !important;
    margin-bottom: 20px;
  }
  
  .el-card__header {
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 20px;
    font-weight: 600;
    color: #333;
  }
  
  .el-card__body {
    padding: 20px !important;
  }
  
  /* 桌面端表单样式 */
  .el-form {
    max-width: 800px;
  }
  
  .el-form-item {
    margin-bottom: 22px !important;
  }
  
  .el-form-item__label {
    font-weight: 500 !important;
    color: #333 !important;
  }
  
  .el-input {
    font-size: 14px;
  }
  
  .el-input__inner {
    border-radius: 6px;
    height: 40px;
  }
  
  .el-button {
    border-radius: 6px;
    font-weight: 500;
    padding: 10px 20px;
  }
  
  .el-button--primary {
    background: #667eea;
    border-color: #667eea;
  }
  
  .el-button--primary:hover {
    background: #5a6de8;
    border-color: #5a6de8;
  }
  
  /* 桌面端表格样式 */
  .el-table {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ebeef5;
  }
  
  .el-table th {
    background: #fafafa !important;
    font-weight: 600;
    color: #333;
  }
  
  .el-table .el-table__cell {
    padding: 12px 8px;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .el-table__body tr:hover > td {
    background-color: #f9f9f9 !important;
  }
  
  /* 桌面端标签页样式 */
  .el-tabs {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  }
  
  .el-tabs__header {
    margin: 0 0 20px 0;
  }
  
  .el-tabs__nav-wrap::after {
    height: 1px;
    background-color: #e4e7ed;
  }
  
  .el-tabs__item {
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    font-weight: 500;
    color: #606266;
  }
  
  .el-tabs__item.is-active {
    color: #667eea;
    font-weight: 600;
  }
  
  .el-tabs__active-bar {
    background-color: #667eea;
    height: 2px;
  }
  
  .el-tabs__content {
    padding-top: 20px;
  }
  
  /* 桌面端消息组件样式 */
  .el-message {
    min-width: 300px;
    border-radius: 6px;
  }
  
  .el-message-box {
    border-radius: 8px;
    overflow: hidden;
  }
  
  /* 桌面端下拉菜单样式 */
  .el-dropdown-menu {
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e4e7ed;
  }
  
  .el-dropdown-menu__item {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .el-dropdown-menu__item:hover {
    background-color: #f5f7fa;
    color: #667eea;
  }
  
  /* 桌面端选择器样式 */
  .el-select .el-input__inner {
    height: 40px;
  }
  
  .el-select-dropdown {
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .el-select-dropdown__item {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .el-select-dropdown__item:hover {
    background-color: #f5f7fa;
  }
  
  .el-select-dropdown__item.selected {
    background-color: #667eea;
    color: white;
  }
}

/* 超大屏幕优化 */
@media (min-width: 1200px) {
  .el-main {
    padding: 30px !important;
  }
  
  .el-card {
    margin-bottom: 30px;
  }
  
  .el-form {
    max-width: 900px;
  }
}

/* 桌面端通用类 */
.desktop-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.desktop-flex {
  display: flex;
  gap: 20px;
  align-items: center;
}

.desktop-flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.desktop-flex-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.desktop-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.desktop-grid-2 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.desktop-grid-3 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.desktop-text-center {
  text-align: center;
}

.desktop-text-right {
  text-align: right;
}

.desktop-mt-20 {
  margin-top: 20px;
}

.desktop-mb-20 {
  margin-bottom: 20px;
}

.desktop-p-20 {
  padding: 20px;
}

/* 桌面端阴影样式 */
.desktop-shadow-light {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.desktop-shadow-medium {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.desktop-shadow-heavy {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 桌面端边框圆角 */
.desktop-border-radius {
  border-radius: 8px;
}

.desktop-border-radius-large {
  border-radius: 12px;
}

/* 桌面端背景样式 */
.desktop-bg-white {
  background: white;
}

.desktop-bg-gray {
  background: #f5f5f5;
}

.desktop-bg-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}
